package com.shw.loco.adapter;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * 
 * @author HAHA
 * 
 */
public class LocoBootBroadcast extends BroadcastReceiver {

	@Override 
	public void onReceive(Context context, Intent intent) {
		Intent service = new Intent(context, LocoMainService.class);
		context.startService(service);
		// Intent appIntent = new Intent(context, MainActivity.class);
		// appIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		// context.startActivity(appIntent);

	}

}
